//
//  adress_Cell.m
//  pz_live
//
//  Created by caiyc on 2018/9/17.
//  Copyright © 2018年 caiyc. All rights reserved.
//

#import "adress_Cell.h"

@implementation adress_Cell

- (void)awakeFromNib {
    [super awakeFromNib];
    self.selectionStyle = UITableViewCellSelectionStyleNone;
    self.addBtn.userInteractionEnabled = 0;
    // Initialization code
}

- (IBAction)addAddress:(UIButton *)sender {
   // self.addAdress();
}

-(void)bindData:(NSDictionary *)dic{
    self.addBtn.hidden = 1;
    self.name.text = [NSString stringWithFormat:@"%@  /  %@",dic[@"name"],dic[@"mobile"]];
    self.address.text = dic[@"address"];
}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
